{extend name="admin@index_layout"/}
{block name="main"}
<form class="layui-form" method="post">
    <input type="hidden" name="row[id]" value="{$data.id}">

    <div class="layui-form-item" >
        <label class="layui-form-label">分配陪服务人员</label>
        <div class="layui-input-block">
            <input type="text" id="c-pic" class="layui-input" value="{$pz_info.name}">
        </div>
<!--        <div class="layui-input-block">-->
<!--            <input type="text" name="row[pz_id]" id="c-pic" class="layui-input" value="{$pz_info.id}">-->
<!--        </div>-->
        <div class="layui-input-block">
            <button data-open='{:url("pzIndex")}?order_id={$data.id}'
                    type="button"
                    class="layui-btn" data-multiple="false"
                    data-input-id="c-pic" id="fachoose-c-pic"><i class="iconfont icon-other"></i> 选择
            </button>
        </div>
    </div>


    <div class="layui-form-item layer-footer">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit>提交</button>
        </div>
    </div>
</form>
{/block}
{block name="script"}
<script type="text/javascript">
    layui.use(['yznForm', 'laydate', 'form'], function () {
        var yznForm = layui.yznForm,
            laydate = layui.laydate;
        var form = layui.form;
        yznForm.bindevent($("form.layui-form"));
        laydate.render({
            elem: '#ID-laydate'
        });
    });
</script>
{/block}